//****************************************/
//* mElements  12 2011                   */
//* Riku Maikola rpm@ac-mapa.org         */
//****************************************/

#include "../mElements.h"
mPoint element::p1()
{
    return mP(NAN,NAN,NAN);
};
mPoint element::p2()
{
    return mP(NAN,NAN,NAN);
};
mPoint element::p3()
{
    return mP(NAN,NAN,NAN);
};
mPoint element::cp()
{
    return mP(NAN,NAN,NAN);
};




void element::cArea()
{
    printf("ERROR in element cArea\n");
};
bool element::Match(element ee)
{
    return false;
};
bool element::Match(eLine le)
{
    return false;
};
bool element::Match(eArc ae)
{
    return false;
};
bool element::Match(eCircle ce)
{
    return false;
}
bool element::Connection(mPoint *point,mPoint *center,int *type)
{
    printf("NOT SUPPORTED CONNECTION TYPE\n");
    return false;
}
double element::Distance(double X,double Y)
{
    printf("NOT element::Distance()\n");
    return NAN;
}
bool element::Intersection(mPointArray *A,element Ci)
{
    printf("NOT SUPPORTED element::Intersection()\n");
};
bool element::Intersection(mPointArray *A,eLine Ci)
{
    printf("NOT SUPPORTED element::Intersection()\n");
};
bool element::Intersection(mPointArray *A,eArc Ci)
{
    printf("NOT SUPPORTED element::Intersection()\n");
};
bool element::Intersection(mPointArray *A,eCircle Ci)
{
    printf("NOT SUPPORTED element::Intersection()\n");
};
bool element::Intersection(mPointArray *A,eRay Ci)
{
    printf("NOT SUPPORTED element::Intersection()\n");
}

mPoint element::MidPoint()
{
     printf("NOT SUPPORTED element::MidPoint()\n");
}

mPointArray element::ToArray(double accu)
{
    mPointArray A;
    return A;
}

bool element::Split(Image*,mPoint point)
{
    printf("NOT SUPPORTED element::Split()\n");
    return false;
}

